package com.usian.user.feign;

import com.usian.common.pojo.User;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "day14-mapenghui-member")
public interface UserFeign {

    @GetMapping("/member/getUser/{username}")
    User getUser(@PathVariable("username") String username);


}
